CUW\App\Controllers\Store\Cart B

Total Complexity 100
Dependencies 7
Dependents 1
Total lines 290
Lines of code 194
Logical lines of code 106
Comment lines 68
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
applyDiscounts()
C
42 29 44
addItemText()
A
47 13 31
updateItemPrice()
A
55 9 17
checkCartItemExistingQuantity()
A
56 9 15
updateRegularPrice()
A
58 9 14
maybeRestoreOtherItems()
S
60 7 12
changeCartItemVariant()
S
53 6 21
maybeRemoveQuantityInput()
S
61 6 12
removeInvalidItems()
S
61 5 12
maybeRemoveOtherItems()
S
67 4 7
maybeRemoveRemoveLink()
S
65 3 9